// 样式重置
button {
    outline: 0;
}

body,
html {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    height: 100%;
    background: #2c3145;
    font-family: "Microsoft Yahei", -apple-system-font, sans-serif !important;
    color: #000;
    margin: 0;
    padding: 0;
}

dd,
dl,
dt,
li,
p,
ul,
h2,
h3,
h4 {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul {
    list-style: none;
}

img {
    height: auto;
    vertical-align: middle;
}

a {
    color: #333;
    text-decoration: none;
}

a:link {
    -webkit-tap-highlight-color: transparent;
    -moz-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -moz-touch-callout: none;
}

a,
img {
    -webkit-touch-callout: none;
    -moz-touch-callout: none;
}

b,
em,
i {
    font-style: normal;
}

button,
input,
textarea {
    outline: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-weight: 400;
}

p {
    margin: 0;
    padding: 0;
}

strong {
    font-weight: normal;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
}

.f12{
    font-size: 12px;
}
.f13{
    font-size: 13px;
}
.f14{
    font-size: 14px;
}
.f16{
    font-size: 16px;
}
.f18{
    font-size: 18px;
}
.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.overlay-content {
    position: relative;
    height: 100%;
    overflow: scroll;
    font-size: 14px;
}

.scrolling {
    -webkit-overflow-scrolling: touch;
}

// 清除浮动
.clear:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0;
}

.clear {
    zoom: 1;
}

// 取消按钮效果
.active-cancel {
    .weui-grid:active {
        background-color: transparent !important;
    }
}

.weui-cell:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid #D9D9D9;
    color: #D9D9D9;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
    left: 15px;
    z-index: 2;
}

.weui-cells {
    margin-top: 0 !important;
    line-height: 1.47058824;
    // font-size: 15px !important;
    overflow: hidden;
    position: relative;
    background: #2c3145!important;
    .weui-cell {
        padding: 15px;
        position: relative;
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        align-items: center;
        .weui-cell__bd {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;
        }
    }
}

.weui-cell_access .weui-cell__ft {
    padding-right: 13px;
    position: relative;
    &:after {
        content: " ";
        display: inline-block;
        height: 6px;
        width: 6px;
        border-width: 2px 2px 0 0;
        border-color: #c8c8cd;
        border-style: solid;
        -webkit-transform: matrix(.71, .71, -.71, .71, 0, 0);
        transform: matrix(.71, .71, -.71, .71, 0, 0);
        position: relative;
        top: -2px;
        position: absolute;
        top: 50%;
        margin-top: -4px;
        right: 2px;
    }
}

.weui-cell__ft {
    text-align: right;
    color: #999;
}

.weui-cells:after,
.weui-cells:before {
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    color: #e5e5e5;
    z-index: 2;
}

.weui-cells:before {
    top: 0;
    border-top: none !important;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
}

.weui-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.weui-flex__item {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
}

.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: #2c3145;
    color: #ffffff;
    .overlay-content {
        position: relative;
        height: 100%;
        overflow: scroll;
        font-size: 15px;
    }
}

.scrolling {
    -webkit-overflow-scrolling: touch;
}

input {
    padding: 10px;
    background: none;
    font-size: 15px;
}

button,
input {
    width: 100%;
    box-sizing: border-box;
}

.mint-cell {
    min-height: auto;
}

button,
input,
textarea {
    outline: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    border: none;
}

.border-bottom:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px solid #ccc;
    color: #ccc;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
}

.blue {
    color: #3564e6;
}

.orange {
    color: #ff831c;
}

.gray {
    color: #a9a9a9
}

.weui-btn_default {
    color: #000000!important;
    background-color: #F8F8F8;
}

.weui-btn_primary {
    background: #3a3f88 !important;
    color: #fff;
    border-radius: 5px;
}

.weui-btn {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-left: 14px;
    padding-right: 14px;
    box-sizing: border-box;
    font-size: 16px!important;
    text-align: center;
    text-decoration: none;
    color: #fff;
    line-height: 2.55555556;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow: hidden;
}

// 温馨提示
.hint {
    padding: 10px;
    font-size: 14px;
    .hint_hd {
        border-left: 2px solid #26a2ff;
        padding-left: 10px;
        font-size: 16px;
        margin-bottom: 6px;
    }
    p {
        margin-bottom: 5px;
    }
}


/*文字左中右对齐*/

.tal {
    text-align: left!important;
}

.tac {
    text-align: center!important;
}

.tar {
    text-align: right!important;
}

.nav-btm {
    bottom: 50px;
}

// 顶部导航
.head~.overlay {
    top: 46px;
}

.head {
    text-align: center;
    height: 46px;
    line-height: 46px;
    // box-shadow: 0 1px 1px 1px #e4e4e4;
    background: #2c3145;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9;
    width: 100%;
    color: #FFFFFF;
    font-size: 16px;
}

.head .return {
    position: absolute;
    left: 0;
    top: 0;
    width: 45px;
    height: 45px;
    z-index: 99;
}

.head .return:after {
    content: " ";
    display: inline-block;
    height: 9px;
    width: 9px;
    border-width: 2px 2px 0 0;
    border-color: #FFFFFF;
    border-style: solid;
    -webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
    transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
    position: absolute;
    transform: rotate(225deg);
    left: 16px;
    top: 17px;
}

// .vux-tab .vux-tab-item.vux-tab-selected{
//     color:#3564e6 !important;
// }
// .vux-tab-ink-bar{
//     background-color:#3564e6 !important;
// }
.toolbar-2n2cwgp5- {
    padding: 0 !important;
}

.chart-container {
    top: 0 !important;
    left: 0 !important;
}

.head .info {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 24px;
    height: 24px;
    background: url(../images/g1.png) no-repeat center;
    background-size: 24px;
    i {
        width: 10px;
        height: 10px;
        background: #ff5555;
        border-radius: 50%;
        display: block;
        position: relative;
        left: 18px;
        top:-3px;
    }
}

.operating {
    position: absolute;
    padding: 0 10px;
    display: inline-block;
    right: 0;
    top: 0;
    color: #FFFFFF;
    font-size: 15px;
}

.weui-dialog__btn_primary {
    color: #1fa078 !important;
}

.van-dialog__confirm, .van-dialog__confirm:active {
    color: #1fa078;
}

.van-dialog__message--has-title {
    color: #000000;
}

.van-pull-refresh{
    overflow: visible!important;
}

.weui-toast {
    top: 37%!important;
}
.van-field__control{
    color:#fff !important;
}
.van-hairline--top-bottom::after{
    border-top: 0 solid #ebedf0 !important;
}
.van-cell{
    background:#2c3145;
}

.van-button--info{
    background-color: #3fb776 !important;
    border: 1px solid #3fb776 !important;
}
.van-button--danger{
    background-color: #fa4a61 !important;
    border: 1px solid #fa4a61 !important;
}
.rise{
    background:#30c694;
}
.fall{
    background:#fa4a61;
}

.vux-1px-b:after{
    border-bottom: 1px solid #393958 !important;
}

.van-field__body input::-webkit-input-placeholder {
	color: rgb(133, 141, 172)!important;
}

.weui-fixed-btm {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


.van-dialog {
	background: rgb(44,49,69);
}
.van-dialog__header{
    color:#fff;
}
.van-dialog .van-dialog__message {
	color: white;
}


.van-dialog .van-button--default {
	background: rgb(36,41,62);
}

.van-dialog .van-hairline--top::after {
	border: 0;
}

.van-dialog [class*=van-hairline]::after {
	border-color: #2c3145;
}

// 夺宝样式
.title-hd2{
    color:#333;
    font-size: 18px;
    font-weight: bold;
    padding:10px;
}
.product{
    padding:0 10px;
    .product_list{
        background:#fff;
        border-radius: 6px;
        padding:10px;
        margin-bottom:10px;
    }
    .product_hd{
        color:#999;
        border-bottom:1px solid #f5f5f5;
        padding-bottom:10px;
        margin-bottom:10px;
        span{
            color:#f94951;
            padding:0 2px;
        }
    }
    .product_content{
        .weui-flex__item{
            padding-left: 20px;
            position: relative;
        }
        .img{
            width: 100px;
            img{
                width: 100%;
            }
        }
        .bt{
            color:#333;
            line-height: 120%;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }
        .price{
            color:#666;
            text-decoration: line-through;
        }
        .state{
            display: inline-block;
            color:#fff;
            padding:2px 20px;
            border-radius: 14px;
        }
        .state1{
            background:#ccc;
        }
        .state2{
            background:#f94951;
        }
        .state3{
            background:#3ca76d;
            img{
                width:20px;
                border-radius: 50%;
                vertical-align: middle;
                position: relative;
                top: -1px;
                margin-right: 2px;
            }
        }
        .btm{
            position: absolute;
            bottom:2px;
        }
        .c1{
            color:#999;
            font-size: 12px;
        }

    }
}

.demo {
	background: white!important;
}

.demo .van-dialog__header {
	color: black;
}

.demo .van-dialog__message {
	color: black;
}

.demo .van-button--default {
	background: white;
	border-top: 1px solid #e4e4e4;
}
